package cn.iocoder.yudao.module.book.enums;

import cn.iocoder.yudao.framework.common.exception.ErrorCode;

/**
 * Infra 错误码枚举类
 *
 * book 系统，使用 1-003-000-000 段
 */
public interface ErrorCodeConstants {

    // 图书
    ErrorCode BOOK_NOT_EXISTS = new ErrorCode(1_003_000_001, "图书不存在");

    // 作者
    ErrorCode AUTHOR_NOT_EXISTS = new ErrorCode(1_003_001_001, "作者不存在");

    // 图书分类
    ErrorCode CATEGORY_NOT_EXISTS = new ErrorCode(1_003_002_001, "图书分类不存在");

    ErrorCode FINE_NOT_EXISTS = new ErrorCode(1_003_003_001, "逾期罚金不存在");

    ErrorCode INVENTORY_NOT_EXISTS = new ErrorCode(1_003_004_001, "库存不存在");

    ErrorCode LOAN_NOT_EXISTS = new ErrorCode(1_003_005_001, "借阅记录不存在");

    ErrorCode LOG_NOT_EXISTS = new ErrorCode(1_003_006_001, "系统操作日志不存在");

    ErrorCode NOTIFICATION_NOT_EXISTS = new ErrorCode(1_003_007_001, "通知中心不存在");

    ErrorCode PUBLISHER_NOT_EXISTS = new ErrorCode(1_003_008_001, "出版社不存在");

    ErrorCode PURCHASE_ORDER_NOT_EXISTS = new ErrorCode(1_003_009_001, "采购订单不存在");

    ErrorCode RATING_NOT_EXISTS = new ErrorCode(1_003_010_001, "用户评分不存在");

    ErrorCode RECOMMENDATION_NOT_EXISTS = new ErrorCode(1_003_011_001, "系统推荐不存在");

    ErrorCode RESERVATION_NOT_EXISTS = new ErrorCode(1_003_012_001, "预约记录不存在");

    ErrorCode REVIEW_NOT_EXISTS = new ErrorCode(1_003_013_001, "用户评论不存在");

    ErrorCode SUPPLIER_NOT_EXISTS = new ErrorCode(1_003_014_001, "图书供应商不存在");

    ErrorCode TAG_NOT_EXISTS = new ErrorCode(1_003_015_001, "自定义标签不存在");

}
